/**
 * output package name
 */
package com.kingdee.eas.jky.business;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TradeTypeEnum extends StringEnum
{
    public static final String PRODUCT_VALUE = "1";
    public static final String PROJECT_VALUE = "2";

    public static final TradeTypeEnum PRODUCT = new TradeTypeEnum("PRODUCT", PRODUCT_VALUE);
    public static final TradeTypeEnum PROJECT = new TradeTypeEnum("PROJECT", PROJECT_VALUE);

    /**
     * construct function
     * @param String tradeTypeEnum
     */
    private TradeTypeEnum(String name, String tradeTypeEnum)
    {
        super(name, tradeTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TradeTypeEnum getEnum(String tradeTypeEnum)
    {
        return (TradeTypeEnum)getEnum(TradeTypeEnum.class, tradeTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TradeTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TradeTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TradeTypeEnum.class);
    }
}